﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XcoAppSpaces.Core
{
	/// <summary>
	/// Defines the mode for transferring messages for a certain worker port when coming from remote spaces.
	/// </summary>
	public enum MessageTransferMode
	{
		/// <summary>
		/// Messages are transferred in parallel. This provides maximal performance, but it is not guaranteed
		/// that the messages arrive in the order in which they are posted.
		/// </summary>
		Parallel,

		/// <summary>
		/// Messages are transferred sequentially. This guarantees that the messages arrive exactly in the
		/// order in which they were posted.
		/// </summary>
		Sequential
	}
}
